#define _CRT_SECURE_NO_WARNINGS 1
#include "Qsort.h"


void PrintArray(int* array, int arraySize) {
	assert(array);
	int i = 0;
	for (i = 0; i < arraySize; i++) {
		printf("%d ", array[i]);
	}
}
int main() {
	int nums[] = { 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, -1, -2, -3, -4, -5 };
	int numsSize = sizeof(nums) / sizeof(nums[0]);
	Qsort2(nums, 0, numsSize - 1);
	PrintArray(nums, numsSize);

	return 0;
}